<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<table id="totalResult" class="totalResult" >
	<tr>
		<td><fmt:message key="label.wager"/>：</td>
		<td id="wager" class="currency"></td>
		<td></td>
		<td></td>
		<td></td>
	<tr>
		<td><fmt:message key="label.withdrawal"/>：</td>
		<td id="withdrawal" class="currency"></td>
		<td></td>
		<td id="withdrawalOrder" class="num"></td>
		<td>位</td>
	</tr>
	<tr>
		<td><fmt:message key="label.withdrawal.rate"/>：</td>
		<td id="withdrawalRate" class="decimal"></td>
		<td>％</td>
		<td id="withdrawalRateOrder" class="num"></td>
		<td>位</td>
	</tr>
	<tr>
		<td><fmt:message key="label.bets"/>：</td>
		<td id="bets" class="num"></td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td><fmt:message key="label.hit"/>：</td>
		<td id="hit" class="num"></td>
		<td></td>
		<td id="hitOrder" class="num"></td>
		<td>位</td>
	</tr>
	<tr>
		<td><fmt:message key="label.hit.rate"/>：</td>
		<td id="hitRate" class="decimal"></td>
		<td>％</td>
		<td id="hitRateOrder" class="num"></td>
		<td>位</td>
	</tr>
</table>
<script type="text/JavaScript">
$(function(){
	init_totalResult();
});

//初期表示
function init_totalResult(e){
	query = {};
	query[REQKEY_COMMAND] = REQKEY_COMMAND_INIT;
	b_ajax("/mypage/totalResult",query,displayResult);
}

var displayResult = function(json){
	setResponseData(json);
	formatNumber("#totalResult");
}
</script>
